Hametuha\Hamail\API\MarketingEmail B

Total Complexity 98
Dependencies 4
Dependents 3
Total lines 738
Lines of code 547
Logical lines of code 292
Comment lines 145
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
publish()
B
38 20 74
meta_box_marketing_list()
B
30 14 141
marketing_template_callback()
A
45 9 44
is_valid_as_marketing()
A
51 10 24
sync()
S
50 7 30
meta_box_marketing_fields()
S
45 5 47
post_to_marketing()
S
48 6 30
register_rest_api()
S
53 3 23
meta_box_marketing_logs()
S
54 3 22
save_post()
S
57 3 15
register_post_type()
S
48 1 34
save_post_and_sync()
S
65 3 9
publish_if_possible()
S
65 3 9
init()
S
60 2 12
add_meta_boxes()
S
66 2 7
is_sent()
S
74 2 4
__get()
S
68 2 8
get_marketing_id()
S
74 1 4
get_post_segment()
S
69 1 6
get_post_sender()
S
74 1 4